package com.jiutianniao.p2p.acctrans.core.dal.dao;

import org.apache.ibatis.annotations.Insert;

import com.jiutianniao.p2p.acctrans.core.dal.model.TransLogDO;
import com.jiutianniao.p2p.base.dao.BaseMapper;

public interface TransLogDao extends BaseMapper {

	@Insert("insert into trans_log(trans_log_id,trans_date,out_date,trans_dt,trans_code,trans_amount,trans_currency,freeze_type,account_out_type,trans_account_out,account_in_type,trans_account_in,trans_operator,trans_channel,trans_institution,trans_out_order_no,trans_memo,sub_trans_code,flag_cancel,related_trans_id,voucher_id)"
			+ " values(#{transLogId},#{transDate},#{outDate},#{transDt},#{transCode},#{transAmount.cent},#{transCurrency},#{freezeType},#{accountOutType},#{transAccountOut},#{accountInType},#{transAccountIn},#{transOperator},#{transChannel},#{transInstitution},#{transOutOrderNo},#{transMemo},#{subTransCode},#{flagCancel},#{relatedTransId},#{voucherId})")
	void save(TransLogDO transLogDO);

}
